<?
class tbl_applications extends tbl_abstract{
  protected $_sql_create = "
		CREATE TABLE IF NOT EXISTS `applications` (
		  `id` int(11) NOT NULL auto_increment,
		  `user` int(11) NOT NULL,
		  `title` text NOT NULL,
		  `url` varchar(4000) NOT NULL,
		  `description` text NOT NULL,
		  `pubDate` datetime NOT NULL,
		  PRIMARY KEY  (`id`)
		) ENGINE=MyISAM;
  ";
  
  public function getUser(){
  	return new SUser($this['user']);
  }
}
?>